<html>
<head><meta charset="utf-8"><title>Completion from any crate · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Completion.20from.20any.20crate.html">Completion from any crate</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="188445458"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Completion%20from%20any%20crate/near/188445458" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Benn Sundsrud <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Completion.20from.20any.20crate.html#188445458">(Feb 18 2020 at 12:15)</a>:</h4>
<p>It would be cool if you could do something like completion in IntelliJ, where the completion list is ordered by things imported &gt; things in the lib path.  Would it be performant/possible to do that via RA? Keep the existing completion logic as the higher-ranked completions, and use types from crates in Cargo.toml for the lower ranks.</p>



<a name="188445639"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Completion%20from%20any%20crate/near/188445639" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Florian Diebold <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Completion.20from.20any.20crate.html#188445639">(Feb 18 2020 at 12:18)</a>:</h4>
<p><a href="https://github.com/rust-analyzer/rust-analyzer/issues/1062" target="_blank" title="https://github.com/rust-analyzer/rust-analyzer/issues/1062">rust-analyzer#1062</a></p>



<a name="188445669"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Completion%20from%20any%20crate/near/188445669" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Benn Sundsrud <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Completion.20from.20any.20crate.html#188445669">(Feb 18 2020 at 12:18)</a>:</h4>
<p>beaten by a year, nice.  I swore I searched for that in the issues</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>